package cn.ssm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.ssm.pojo.Computerinfo;
import cn.ssm.query.ComputerQuery;

@Repository("CompInfoMapper")
public interface CompInfoMapper {

	public List<Computerinfo> selectCompinfo(@Param("CRID") int CRID);
	public int updateCompinfoDescribeById(@Param("describe") String describe,@Param("computerId") int computerId,@Param("computerroomId") int computerroomId);

	public ComputerQuery selComputer(@Param("periodName") String periodName,@Param("computerroomId")  Integer computerroomId ,@Param("computerId")  Integer computerId);
	
//	public int selectComputerFaultByComputerId(@Param("describe") String describe,@Param("computerId") int computerId,@Param("computerRoomId") int computerRoomId);

	
}
